package com.jic.market.mapper;

import java.lang.Long;
import java.util.List;

import com.jic.market.entity.PatchGrouponTheme;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * 拼团活动表
 * @author : yinhaijun
 * @email : 
 * @since : 2020-01-10 11:11:23
 * @version : v1.0.0
 */
@Mapper
public interface  PatchGrouponThemeMapper {

    long insert(PatchGrouponTheme patchGrouponTheme);

    long delete(Long id);

    long update(PatchGrouponTheme patchGrouponTheme);

    PatchGrouponTheme queryByPrimaryKey(Long id);

    List<PatchGrouponTheme> query(PatchGrouponTheme patchGrouponTheme);

    List<PatchGrouponTheme> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("patchGrouponTheme") PatchGrouponTheme patchGrouponTheme);

    long queryPageCount(PatchGrouponTheme patchGrouponTheme);
}